//
//  HomeBallHeaderView.h
//  Btpin
//
//  Created by Vic on 2019/12/14.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol HomeBallHeaderViewDelegate <NSObject>
@optional
- (void)homeBallHeaderViewTap:(HomeLinkType)homeLinkType;
- (void)homeBallHeaderViewBallPointTap:(NSString *)pointId pointText:(NSString *)pointText;
- (void)homeBallHeaderViewSelectJobTap;
@end

@interface HomeBallHeaderView : UIView

@property (nonatomic, weak) id<HomeBallHeaderViewDelegate>delegate;

- (void)reloadDataForBallData:(NSArray *)dataArray;

- (void)reloadDataForJob:(NSString *)job;

/**
 *  Starts the cloud autorotation animation.
 */
- (void)animationStart;

/**
 *  Stops the cloud autorotation animation.
 */
- (void)animationStop;

- (instancetype)initWithFrame:(CGRect)frame dataArray:(NSArray *)dataArray target:(id)target idType:(TabBarType)idType;

@end

NS_ASSUME_NONNULL_END
